]> dgit.raspbian.org Git - gnome-shell.git/commit
screenShield: Do not lock the screen when locked down
authorFlorian Müllner <fmuellner@gnome.org>
Fri, 17 Mar 2017 14:48:22 +0000 (15:48 +0100)
committerFlorian Müllner <fmuellner@gnome.org>
Mon, 20 Mar 2017 18:02:08 +0000 (19:02 +0100)
commit199bc85bce87f3739a2918335d53337e3c5d6701
treee21b3af000323d6f4581089e2d749b864931eb1b
parentd15b46f5cb9928ec784f38ef3e4b50d0970ede2b
screenShield: Do not lock the screen when locked down

When using the 'disable-lock-screen' setting to lock down the screen
lock, the expectation is that users cannot lock the screen. However
as it turns out, all the setting currently does is hiding the lock
button in the system menu and making the lock settings in the privacy
panel inactive. That means that if the 'lock-screen-enabled' setting
isn't disabled and locked down as well, we will just continue to
lock the screen on inactivity - not to mention the keyboard shortcut
that isn't subject to that setting anyway.

Instead of expecting administrators to hunt down every possible way
of locking the screen and disabling it individually, we can easily
handle all cases by refusing to lock the screen when disabled by the
lockdown settings.

https://bugzilla.gnome.org/show_bug.cgi?id=780212
js/ui/screenShield.js